package com.jixi.pojo.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "学生表")
@TableName("student")
public class Student {

    @Schema(description = "学生序号")
    @TableId(value = "student_id")
    private Long studentId;

    @Schema(description = "学生学号")
    private String studentNum;

    @Schema(description = "学生名称")
    private String studentName;

    @Schema(description = "性别（0男1女）")
    private Integer studentGender;

    @Schema(description = "年龄")
    private Integer studentAge;

    @Schema(description = "身份证号")
    private String studentIdNumber;

    @Schema(description = "家长序号")
    private Long parentId;

    @Schema(description = "班级序号")
    private Long classId;

    @Schema(description = "年级序号")
    private Long gradeId;

    @Schema(description = "学校序号")
    private Long schoolId;

    @Schema(description = "状态")
    private Integer status;

    @Schema(description = "是否删除")
    private Integer isDeleted;

    @Schema(description = "更新时间")
    private Date updateTime;

    @Schema(description = "创建时间")
    private Date createTime;


}

